package Exercise;

public class Inner_class {
    public static void main(String[] args) {
        outer.Staticinter O=new outer.Staticinter();
        O.innermethod();
       
    }
    
}
class outer{
    private static int shared=100;
    public static class Staticinter{
        public void innermethod(){
            System.out.println(shared);
        }
    }
    public void test(){
        Staticinter si=new Staticinter();
        si.innermethod();
    }
}

